using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Net;
using System.Windows.Forms;
using Core.Common;
using Tool.Web.HttpHelper;
using Tool.Windows.Win32;

namespace Core.UI
{
	public class Setting : Form
	{
		#region 控件
		private IContainer components;

		private TextBox textBox2;

		private TabControl tabControl1;

		private TabPage tabPage7;

		private Label label16;

		private Label label15;

		private Label label13;

		private Label label12;

		private PictureBox pictureBox3;

		private PictureBox pictureBox2;

		private PictureBox pictureBox1;

		private TabPage tabPage1;

		private Button button17;

		private TextBox textBox25;

		private TabPage tabPage2;

		private Button button2;

		private Button button1;

		private GroupBox groupBox6;

		private Button button15;

		private TextBox textBox24;

		private ComboBox comboBox1;

		private Label label34;

		private Label label10;

		private CheckBox checkBox11;

		private Label label11;

		private TextBox textBox11;

		private GroupBox groupBox5;

		private CheckBox checkBox10;

		private CheckBox checkBox7;

		private CheckBox checkBox9;

		private Label label7;

		private TextBox textBox7;

		private GroupBox groupBox3;

		private CheckBox checkBox4;

		private Label label8;

		private TextBox textBox8;

		private GroupBox groupBox2;

		private Label label6;

		private TextBox textBox6;

		private CheckBox checkBox2;

		private Label label5;

		private TextBox textBox5;

		private GroupBox groupBox1;

		private CheckBox checkBox1;

		private Label label3;

		private TextBox textBox3;

		private TabPage tabPage3;

		private Label label23;

		private TabPage tabPage5;

		private Label label22;

		private GroupBox groupBox8;

		private TextBox textBox26;

		private Label label35;

		private ComboBox comboBox3;

		private ComboBox comboBox2;

		private Label label9;

		private Label label17;

		private GroupBox groupBox4;

		private Label label18;

		private CheckBox checkBox6;

		private TextBox textBox9;

		private CheckBox checkBox3;

		private TabPage tabPage4;

		private GroupBox groupBox7;

		private Label label25;

		private TextBox textBox12;

		private CheckBox checkBox5;

		private GroupBox groupBox10;

		private ComboBox comboBox4;

		private ComboBox comboBox5;

		private Label label19;

		private Label label21;

		private TabPage tabPage6;

		private TabPage tabPage8;

		private Label label24;

		private Button button18;

		private Label label14;

		private PictureBox pictureBox4;

		private Button button16;

		private TextBox textBox1;

		private TextBox textBox4;

		private Label label26;

		private Label label27;

		private GroupBox groupBox9;

		private GroupBox groupBox11;

		private GroupBox groupBox12;

		private GroupBox groupBox13;

		private Label label1;

		private TextBox textBox10;

		private ComboBox comboBox6;

		private Label label2;

		private GroupBox groupBox14;

		private CheckBox checkBox8;

		private Button button3;

		private TextBox textBox13;

		private Label label4;

		private GroupBox groupBox15;

		private Label label20;

		private TextBox textBox14;

		private CheckBox checkBox12;

		private Button button4;

		private TabPage tabPage9;
		private GroupBox groupBox16;
		private CheckBox checkBox13;
		private RichTextBox richTextBox1;
		private GroupBox groupBox17;
		private Label label28;
		private TextBox textBox15;
		private Button button5;
		private CheckBox checkBox14;

		#endregion

		public Setting()
		{
			InitializeComponent();
		}

		private void Save()
		{
			Win32Help.IniWriteValue(Global.AppDir + "通用设置.ini", "设置", "代理地址", textBox25.Text);
			Win32Help.IniWriteValue(Global.AppDir + "通用设置.ini", "设置", "主人号码", string.IsNullOrWhiteSpace(textBox1.Text) ? "0" : textBox1.Text);
			Win32Help.IniWriteValue(Global.AppDir + "通用设置.ini", "设置", "黑名单", textBox2.Text);
			Win32Help.IniWriteValue(Global.AppDir + "通用设置.ini", "设置", "等待提示语", textBox4.Text);
			Win32Help.IniWriteValue(Global.AppDir + "通用设置.ini", "设置", "授权变更提示", checkBox8.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "通用设置.ini", "设置", "监控频率", textBox13.Text);

			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "番剧搜索", "指令", textBox3.Text);
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "番剧搜索", "失效检查", checkBox1.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "搜索图片", "指令", textBox5.Text);
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "搜索图片", "最低相似度", textBox6.Text);
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "搜索图片", "发送提示语", checkBox2.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "识别动漫截图", "指令", textBox8.Text);
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "识别动漫截图", "发送提示语", checkBox4.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "热门图片", "指令", textBox7.Text);
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "热门图片", "允许R18", checkBox9.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "热门图片", "R18防和谐", checkBox7.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "热门图片", "发送提示语", checkBox10.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "随机图片", "指令", textBox11.Text);
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "随机图片", "来源", comboBox1.SelectedIndex.ToString());
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "随机图片", "级别", textBox24.Text);
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "随机图片", "发送提示语", checkBox11.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "推文监控", "自动翻译", checkBox13.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "推文监控", "拒绝转推", checkBox14.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "高级设置.ini", "Google", "API_KEY", textBox15.Text);

			Win32Help.IniWriteValue(Global.AppDir + "pixiv-高级.ini", "p站搜索", "指令", textBox9.Text);
			Win32Help.IniWriteValue(Global.AppDir + "pixiv-高级.ini", "p站搜索", "允许R18", (!checkBox3.Checked) ? "关" : "开");
			Win32Help.IniWriteValue(Global.AppDir + "pixiv-高级.ini", "p站搜索", "R18防和谐", (!checkBox6.Checked) ? "关" : "开");
			Win32Help.IniWriteValue(Global.AppDir + "pixiv-高级.ini", "p站排行榜", "指令", textBox26.Text);
			Win32Help.IniWriteValue(Global.AppDir + "pixiv-高级.ini", "p站排行榜", "默认内容", comboBox2.SelectedIndex.ToString());
			Win32Help.IniWriteValue(Global.AppDir + "pixiv-高级.ini", "p站排行榜", "默认类型", comboBox3.SelectedIndex.ToString());

			Win32Help.IniWriteValue(Global.AppDir + "bilibili-通用.ini", "AV解析", "开关", checkBox5.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "bilibili-通用.ini", "AV解析", "回复", textBox12.Text.Replace("\r\n", "[换行]"));
			Win32Help.IniWriteValue(Global.AppDir + "bilibili-通用.ini", "MD解析", "开关", checkBox12.Checked ? "开" : "关");
			Win32Help.IniWriteValue(Global.AppDir + "bilibili-通用.ini", "MD解析", "回复", textBox14.Text.Replace("\r\n", "[换行]"));
			Win32Help.IniWriteValue(Global.AppDir + "bilibili-通用.ini", "b站排行榜", "指令", textBox10.Text);
			Win32Help.IniWriteValue(Global.AppDir + "bilibili-通用.ini", "b站排行榜", "内容", comboBox5.SelectedIndex.ToString());
			Win32Help.IniWriteValue(Global.AppDir + "bilibili-通用.ini", "b站排行榜", "日期", comboBox6.SelectedIndex.ToString());
		}

		private void Setting_Load(object sender, EventArgs e)
		{
			System.Threading.Tasks.Task.Run(() =>
			{
				var text = System.Text.Encoding.UTF8.GetString(Tool.Web.HttpHelper.HttpNet.Get(Global.ServerAddressFile + "公告.txt"));
				label27.Text = string.IsNullOrWhiteSpace(text) ? "暂无" : text;
			});
			richTextBox1.ForeColor = System.Drawing.Color.FromArgb(0, 0, 0);
			richTextBox1.BackColor = System.Drawing.Color.FromArgb(255, 255, 255);
			if (Global.Authorization)
			{
				Text = "已授权，可使用插件全部功能";
			}
			else
			{
				Text = "未授权，无法使用授权专用功能，其余功能大部分无法更改设置";
			}
			textBox1.Text = Win32Help.IniReadValue(Global.AppDir + "通用设置.ini", "设置", "主人号码", null, 65535);
			textBox2.Text = Win32Help.IniReadValue(Global.AppDir + "通用设置.ini", "设置", "黑名单", null, 65535);
			textBox4.Text = Win32Help.IniReadValue(Global.AppDir + "通用设置.ini", "设置", "等待提示语", "少女祈祷中...", 65535);
			textBox25.Text = Win32Help.IniReadValue(Global.AppDir + "通用设置.ini", "设置", "代理地址", null, 65535);
			checkBox8.Checked = (!(Win32Help.IniReadValue(Global.AppDir + "通用设置.ini", "设置", "授权变更提示", "开", 65535) == "关")) ? true : false;
			textBox13.Text = Win32Help.IniReadValue(Global.AppDir + "通用设置.ini", "设置", "监控频率", "30", 65535);

			textBox3.Text = Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "番剧搜索", "指令", "番剧搜索", 65535);
			checkBox1.Checked = (Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "番剧搜索", "失效检查", "关", 65535) == "开") ? true : false;
			textBox5.Text = Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "搜索图片", "指令", "搜索图片", 65535);
			textBox6.Text = Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "搜索图片", "最低相似度", "0", 65535);
			checkBox2.Checked = (!(Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "搜索图片", "发送提示语", "开", 65535) == "关")) ? true : false;
			textBox8.Text = Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "识别动漫截图", "指令", "识别动漫截图", 65535);
			checkBox4.Checked = (!(Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "识别动漫截图", "发送提示语", "开", 65535) == "关")) ? true : false;
			textBox7.Text = Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "热门图片", "指令", "热门图片", 65535);
			checkBox9.Checked = (Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "热门图片", "允许R18", "关", 65535) == "开") ? true : false;
			checkBox7.Checked = (Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "热门图片", "R18防和谐", "关", 65535) == "开") ? true : false;
			checkBox10.Checked = (!(Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "热门图片", "发送提示语", "开", 65535) == "关")) ? true : false;
			textBox11.Text = Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "随机图片", "指令", "随机图片", 65535);
			comboBox1.SelectedIndex = int.Parse(Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "随机图片", "来源", "0", 65535));
			textBox24.Text = Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "随机图片", "级别", "1", 65535);
			checkBox11.Checked = (Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "随机图片", "发送提示语", "关", 65535) == "开") ? true : false;
			checkBox13.Checked = Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "推文监控", "自动翻译", "关") == "开" ? true : false;
			checkBox14.Checked = Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "推文监控", "拒绝转推", "关") == "开" ? true : false;
			textBox15.Text = Win32Help.IniReadValue(Global.AppDir + "高级设置.ini", "Google", "API_KEY", string.Empty, 255);

			textBox9.Text = Win32Help.IniReadValue(Global.AppDir + "pixiv-高级.ini", "p站搜索", "指令", "p站搜索", 65535);
			checkBox3.Checked = ((Win32Help.IniReadValue(Global.AppDir + "pixiv-高级.ini", "p站搜索", "允许R18", "关", 65535) == "开") ? true : false);
			checkBox6.Checked = ((Win32Help.IniReadValue(Global.AppDir + "pixiv-高级.ini", "p站搜索", "R18防和谐", "关", 65535) == "开") ? true : false);
			textBox26.Text = Win32Help.IniReadValue(Global.AppDir + "pixiv-高级.ini", "p站排行榜", "指令", "p站排行榜", 65535);
			comboBox2.SelectedIndex = int.Parse(Win32Help.IniReadValue(Global.AppDir + "pixiv-高级.ini", "p站排行榜", "默认内容", "0", 65535));
			comboBox3.SelectedIndex = int.Parse(Win32Help.IniReadValue(Global.AppDir + "pixiv-高级.ini", "p站排行榜", "默认类型", "0", 65535));

			checkBox5.Checked = ((!(Win32Help.IniReadValue(Global.AppDir + "bilibili-通用.ini", "AV解析", "开关", "开", 65535) == "关")) ? true : false);
			textBox12.Text = Win32Help.IniReadValue(Global.AppDir + "bilibili-通用.ini", "AV解析", "回复", "[封面][换行][up主名称]([up主uid])：[换行][标题][换行][简介][换行]https://www.bilibili.com/video/av[av]", 65535).Replace("[换行]", "\r\n");
			checkBox12.Checked = ((!(Win32Help.IniReadValue(Global.AppDir + "bilibili-通用.ini", "MD解析", "开关", "开", 65535) == "关")) ? true : false);
			textBox14.Text = Win32Help.IniReadValue(Global.AppDir + "bilibili-通用.ini", "MD解析", "回复", "[封面][换行]标题：[标题][换行]原标题：[原标题][换行]开播时间：[开播时间][换行][简介][换行]https://www.bilibili.com/bangumi/media/md[md]", 65535).Replace("[换行]", "\r\n");
			textBox10.Text = Win32Help.IniReadValue(Global.AppDir + "bilibili-通用.ini", "b站排行榜", "指令", "b站排行榜", 65535);
			comboBox5.SelectedIndex = int.Parse(Win32Help.IniReadValue(Global.AppDir + "bilibili-通用.ini", "b站排行榜", "内容", "0", 65535));
			comboBox6.SelectedIndex = int.Parse(Win32Help.IniReadValue(Global.AppDir + "bilibili-通用.ini", "b站排行榜", "日期", "0", 65535));
		}

		private void button15_Click(object sender, EventArgs e)
		{
			MessageBox.Show("1为Safe(安全)，2为Questionable(不确定)，4为Explicit(确认)，代表是否确认为r18图片\r\n可填写1-7里的任何一个数字，代表是否允许前面的级别\r\n例如填写7(1+2+4)，则以上三种级别都可以被发送，如果填写4，则代表必定出r18图", "级别说明");
		}

		private void button16_Click(object sender, EventArgs e)
		{
			MessageBox.Show("这个功能是用来出图的，左边图里就是两个例子\r\n具体参数可以去yande.re找\r\n是否发送提示跟热门图片的设置挂钩\r\n级别也参考热门图片\r\n是否检查，如果你给的参数图片数量很少，就把这个开了，最好的话级别也填7\r\n如果图片很多还开了会很大影响效率\n特别注意，文件必须是ANSI编码", "自定义指令说明");
		}

		private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
		{
			textBox24.Enabled = ((comboBox1.SelectedIndex == 1) ? true : false);
		}

		private void button1_Click(object sender, EventArgs e)
		{
			var t = int.Parse(textBox13.Text);
			if (Global.MonitorFrequency != t)
			{
				foreach (var item in Global.hashTable.Values)
				{
					if (item is Tool.Common.Monitor monitor)
					{
						monitor.TimeInterval = t;
					}
				}
			}
			Core.Monitors.YoutubeLive.key = textBox15.Text;
			Save();
			Global.Csh?.Invoke(true, Global.Authorization, false);
			Global.InitDynamic();
			MessageBox.Show("保存完毕");
		}

		private void button17_Click(object sender, EventArgs e)
		{
			MessageBox.Show("在连接一些国外网站时需要使用，填一个http代理地址，一般ss/ssr用户填写127.0.0.1:1080");
		}

		private void button18_Click(object sender, EventArgs e)
		{
			Process.Start("notepad.exe", "\"" + Global.AppDir + "自定义出图-高级.ini\"");
		}

		private void Button3_Click(object sender, EventArgs e)
		{
			MessageBox.Show("本功能用于设置B站监控和推文监控的频率，默认为30S，30S的理想情况下推文监控一个id一个月50G流量", "说明");
		}

		private void Button4_Click(object sender, EventArgs e)
		{
			MessageBox.Show("[md]为番剧唯一ID,可以尝试这样填写：https://www.bilibili.com/bangumi/media/md[md]\r\n[标题][原标题]你可以理解为中文名和日文名的区别\r\n[staff]和[角色声优]内容可能会很长");
		}

		protected override void Dispose(bool disposing)
		{
			if (disposing && components != null)
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		private void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Setting));
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.tabControl1 = new System.Windows.Forms.TabControl();
			this.tabPage7 = new System.Windows.Forms.TabPage();
			this.label16 = new System.Windows.Forms.Label();
			this.label15 = new System.Windows.Forms.Label();
			this.label13 = new System.Windows.Forms.Label();
			this.label12 = new System.Windows.Forms.Label();
			this.pictureBox3 = new System.Windows.Forms.PictureBox();
			this.pictureBox2 = new System.Windows.Forms.PictureBox();
			this.pictureBox1 = new System.Windows.Forms.PictureBox();
			this.tabPage1 = new System.Windows.Forms.TabPage();
			this.groupBox14 = new System.Windows.Forms.GroupBox();
			this.button3 = new System.Windows.Forms.Button();
			this.textBox13 = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.checkBox8 = new System.Windows.Forms.CheckBox();
			this.groupBox13 = new System.Windows.Forms.GroupBox();
			this.button5 = new System.Windows.Forms.Button();
			this.textBox25 = new System.Windows.Forms.TextBox();
			this.button17 = new System.Windows.Forms.Button();
			this.groupBox12 = new System.Windows.Forms.GroupBox();
			this.textBox4 = new System.Windows.Forms.TextBox();
			this.groupBox11 = new System.Windows.Forms.GroupBox();
			this.groupBox9 = new System.Windows.Forms.GroupBox();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.tabPage2 = new System.Windows.Forms.TabPage();
			this.groupBox17 = new System.Windows.Forms.GroupBox();
			this.label28 = new System.Windows.Forms.Label();
			this.textBox15 = new System.Windows.Forms.TextBox();
			this.groupBox16 = new System.Windows.Forms.GroupBox();
			this.checkBox14 = new System.Windows.Forms.CheckBox();
			this.checkBox13 = new System.Windows.Forms.CheckBox();
			this.groupBox6 = new System.Windows.Forms.GroupBox();
			this.button15 = new System.Windows.Forms.Button();
			this.textBox24 = new System.Windows.Forms.TextBox();
			this.comboBox1 = new System.Windows.Forms.ComboBox();
			this.label34 = new System.Windows.Forms.Label();
			this.label10 = new System.Windows.Forms.Label();
			this.checkBox11 = new System.Windows.Forms.CheckBox();
			this.label11 = new System.Windows.Forms.Label();
			this.textBox11 = new System.Windows.Forms.TextBox();
			this.groupBox5 = new System.Windows.Forms.GroupBox();
			this.checkBox10 = new System.Windows.Forms.CheckBox();
			this.checkBox7 = new System.Windows.Forms.CheckBox();
			this.checkBox9 = new System.Windows.Forms.CheckBox();
			this.label7 = new System.Windows.Forms.Label();
			this.textBox7 = new System.Windows.Forms.TextBox();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.checkBox4 = new System.Windows.Forms.CheckBox();
			this.label8 = new System.Windows.Forms.Label();
			this.textBox8 = new System.Windows.Forms.TextBox();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.label6 = new System.Windows.Forms.Label();
			this.textBox6 = new System.Windows.Forms.TextBox();
			this.checkBox2 = new System.Windows.Forms.CheckBox();
			this.label5 = new System.Windows.Forms.Label();
			this.textBox5 = new System.Windows.Forms.TextBox();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.checkBox1 = new System.Windows.Forms.CheckBox();
			this.label3 = new System.Windows.Forms.Label();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.tabPage3 = new System.Windows.Forms.TabPage();
			this.label23 = new System.Windows.Forms.Label();
			this.tabPage5 = new System.Windows.Forms.TabPage();
			this.label22 = new System.Windows.Forms.Label();
			this.groupBox8 = new System.Windows.Forms.GroupBox();
			this.textBox26 = new System.Windows.Forms.TextBox();
			this.label35 = new System.Windows.Forms.Label();
			this.comboBox3 = new System.Windows.Forms.ComboBox();
			this.comboBox2 = new System.Windows.Forms.ComboBox();
			this.label9 = new System.Windows.Forms.Label();
			this.label17 = new System.Windows.Forms.Label();
			this.groupBox4 = new System.Windows.Forms.GroupBox();
			this.label18 = new System.Windows.Forms.Label();
			this.checkBox6 = new System.Windows.Forms.CheckBox();
			this.textBox9 = new System.Windows.Forms.TextBox();
			this.checkBox3 = new System.Windows.Forms.CheckBox();
			this.tabPage4 = new System.Windows.Forms.TabPage();
			this.groupBox15 = new System.Windows.Forms.GroupBox();
			this.button4 = new System.Windows.Forms.Button();
			this.label20 = new System.Windows.Forms.Label();
			this.textBox14 = new System.Windows.Forms.TextBox();
			this.checkBox12 = new System.Windows.Forms.CheckBox();
			this.groupBox7 = new System.Windows.Forms.GroupBox();
			this.label25 = new System.Windows.Forms.Label();
			this.textBox12 = new System.Windows.Forms.TextBox();
			this.checkBox5 = new System.Windows.Forms.CheckBox();
			this.groupBox10 = new System.Windows.Forms.GroupBox();
			this.comboBox6 = new System.Windows.Forms.ComboBox();
			this.label2 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.textBox10 = new System.Windows.Forms.TextBox();
			this.comboBox4 = new System.Windows.Forms.ComboBox();
			this.comboBox5 = new System.Windows.Forms.ComboBox();
			this.label19 = new System.Windows.Forms.Label();
			this.label21 = new System.Windows.Forms.Label();
			this.tabPage6 = new System.Windows.Forms.TabPage();
			this.tabPage8 = new System.Windows.Forms.TabPage();
			this.label24 = new System.Windows.Forms.Label();
			this.button18 = new System.Windows.Forms.Button();
			this.label14 = new System.Windows.Forms.Label();
			this.pictureBox4 = new System.Windows.Forms.PictureBox();
			this.button16 = new System.Windows.Forms.Button();
			this.tabPage9 = new System.Windows.Forms.TabPage();
			this.richTextBox1 = new System.Windows.Forms.RichTextBox();
			this.button2 = new System.Windows.Forms.Button();
			this.button1 = new System.Windows.Forms.Button();
			this.label26 = new System.Windows.Forms.Label();
			this.label27 = new System.Windows.Forms.Label();
			this.tabControl1.SuspendLayout();
			this.tabPage7.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
			this.tabPage1.SuspendLayout();
			this.groupBox14.SuspendLayout();
			this.groupBox13.SuspendLayout();
			this.groupBox12.SuspendLayout();
			this.groupBox11.SuspendLayout();
			this.groupBox9.SuspendLayout();
			this.tabPage2.SuspendLayout();
			this.groupBox17.SuspendLayout();
			this.groupBox16.SuspendLayout();
			this.groupBox6.SuspendLayout();
			this.groupBox5.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.groupBox1.SuspendLayout();
			this.tabPage3.SuspendLayout();
			this.tabPage5.SuspendLayout();
			this.groupBox8.SuspendLayout();
			this.groupBox4.SuspendLayout();
			this.tabPage4.SuspendLayout();
			this.groupBox15.SuspendLayout();
			this.groupBox7.SuspendLayout();
			this.groupBox10.SuspendLayout();
			this.tabPage8.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
			this.tabPage9.SuspendLayout();
			this.SuspendLayout();
			// 
			// textBox2
			// 
			this.textBox2.Location = new System.Drawing.Point(6, 20);
			this.textBox2.Margin = new System.Windows.Forms.Padding(2);
			this.textBox2.Name = "textBox2";
			this.textBox2.Size = new System.Drawing.Size(249, 23);
			this.textBox2.TabIndex = 9;
			// 
			// tabControl1
			// 
			this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
			this.tabControl1.Controls.Add(this.tabPage7);
			this.tabControl1.Controls.Add(this.tabPage1);
			this.tabControl1.Controls.Add(this.tabPage2);
			this.tabControl1.Controls.Add(this.tabPage3);
			this.tabControl1.Controls.Add(this.tabPage5);
			this.tabControl1.Controls.Add(this.tabPage4);
			this.tabControl1.Controls.Add(this.tabPage6);
			this.tabControl1.Controls.Add(this.tabPage8);
			this.tabControl1.Controls.Add(this.tabPage9);
			this.tabControl1.Location = new System.Drawing.Point(12, 12);
			this.tabControl1.Margin = new System.Windows.Forms.Padding(2);
			this.tabControl1.Name = "tabControl1";
			this.tabControl1.SelectedIndex = 0;
			this.tabControl1.Size = new System.Drawing.Size(810, 398);
			this.tabControl1.TabIndex = 8;
			// 
			// tabPage7
			// 
			this.tabPage7.Controls.Add(this.label16);
			this.tabPage7.Controls.Add(this.label15);
			this.tabPage7.Controls.Add(this.label13);
			this.tabPage7.Controls.Add(this.label12);
			this.tabPage7.Controls.Add(this.pictureBox3);
			this.tabPage7.Controls.Add(this.pictureBox2);
			this.tabPage7.Controls.Add(this.pictureBox1);
			this.tabPage7.Location = new System.Drawing.Point(4, 26);
			this.tabPage7.Margin = new System.Windows.Forms.Padding(2);
			this.tabPage7.Name = "tabPage7";
			this.tabPage7.Padding = new System.Windows.Forms.Padding(2);
			this.tabPage7.Size = new System.Drawing.Size(802, 368);
			this.tabPage7.TabIndex = 6;
			this.tabPage7.Text = "赞助";
			this.tabPage7.UseVisualStyleBackColor = true;
			// 
			// label16
			// 
			this.label16.AutoSize = true;
			this.label16.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.label16.Location = new System.Drawing.Point(232, 38);
			this.label16.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label16.Name = "label16";
			this.label16.Size = new System.Drawing.Size(300, 19);
			this.label16.TabIndex = 6;
			this.label16.Text = "需要联系作者，请加QQ3117836505";
			// 
			// label15
			// 
			this.label15.AutoSize = true;
			this.label15.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.label15.Location = new System.Drawing.Point(600, 324);
			this.label15.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label15.Name = "label15";
			this.label15.Size = new System.Drawing.Size(66, 19);
			this.label15.TabIndex = 5;
			this.label15.Text = "支付宝";
			// 
			// label13
			// 
			this.label13.AutoSize = true;
			this.label13.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.label13.Location = new System.Drawing.Point(350, 324);
			this.label13.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label13.Name = "label13";
			this.label13.Size = new System.Drawing.Size(47, 19);
			this.label13.TabIndex = 4;
			this.label13.Text = "微信";
			// 
			// label12
			// 
			this.label12.AutoSize = true;
			this.label12.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.label12.Location = new System.Drawing.Point(109, 324);
			this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label12.Name = "label12";
			this.label12.Size = new System.Drawing.Size(29, 19);
			this.label12.TabIndex = 3;
			this.label12.Text = "QQ";
			// 
			// pictureBox3
			// 
			this.pictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
			this.pictureBox3.Location = new System.Drawing.Point(538, 101);
			this.pictureBox3.Margin = new System.Windows.Forms.Padding(2);
			this.pictureBox3.Name = "pictureBox3";
			this.pictureBox3.Size = new System.Drawing.Size(180, 180);
			this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
			this.pictureBox3.TabIndex = 2;
			this.pictureBox3.TabStop = false;
			// 
			// pictureBox2
			// 
			this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
			this.pictureBox2.Location = new System.Drawing.Point(290, 101);
			this.pictureBox2.Margin = new System.Windows.Forms.Padding(2);
			this.pictureBox2.Name = "pictureBox2";
			this.pictureBox2.Size = new System.Drawing.Size(180, 180);
			this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
			this.pictureBox2.TabIndex = 1;
			this.pictureBox2.TabStop = false;
			// 
			// pictureBox1
			// 
			this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
			this.pictureBox1.Location = new System.Drawing.Point(43, 101);
			this.pictureBox1.Margin = new System.Windows.Forms.Padding(2);
			this.pictureBox1.Name = "pictureBox1";
			this.pictureBox1.Size = new System.Drawing.Size(180, 180);
			this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
			this.pictureBox1.TabIndex = 0;
			this.pictureBox1.TabStop = false;
			// 
			// tabPage1
			// 
			this.tabPage1.Controls.Add(this.groupBox14);
			this.tabPage1.Controls.Add(this.groupBox13);
			this.tabPage1.Controls.Add(this.groupBox12);
			this.tabPage1.Controls.Add(this.groupBox11);
			this.tabPage1.Controls.Add(this.groupBox9);
			this.tabPage1.Location = new System.Drawing.Point(4, 26);
			this.tabPage1.Margin = new System.Windows.Forms.Padding(2);
			this.tabPage1.Name = "tabPage1";
			this.tabPage1.Padding = new System.Windows.Forms.Padding(2);
			this.tabPage1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.tabPage1.Size = new System.Drawing.Size(802, 368);
			this.tabPage1.TabIndex = 0;
			this.tabPage1.Text = "通用设置";
			this.tabPage1.UseVisualStyleBackColor = true;
			// 
			// groupBox14
			// 
			this.groupBox14.Controls.Add(this.button3);
			this.groupBox14.Controls.Add(this.textBox13);
			this.groupBox14.Controls.Add(this.label4);
			this.groupBox14.Controls.Add(this.checkBox8);
			this.groupBox14.Location = new System.Drawing.Point(6, 233);
			this.groupBox14.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox14.Name = "groupBox14";
			this.groupBox14.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox14.Size = new System.Drawing.Size(266, 46);
			this.groupBox14.TabIndex = 23;
			this.groupBox14.TabStop = false;
			this.groupBox14.Text = "其他";
			// 
			// button3
			// 
			this.button3.Location = new System.Drawing.Point(219, 16);
			this.button3.Margin = new System.Windows.Forms.Padding(2);
			this.button3.Name = "button3";
			this.button3.Size = new System.Drawing.Size(42, 23);
			this.button3.TabIndex = 24;
			this.button3.Text = "说明";
			this.button3.UseVisualStyleBackColor = true;
			this.button3.Click += new System.EventHandler(this.Button3_Click);
			// 
			// textBox13
			// 
			this.textBox13.Location = new System.Drawing.Point(187, 17);
			this.textBox13.Name = "textBox13";
			this.textBox13.Size = new System.Drawing.Size(25, 23);
			this.textBox13.TabIndex = 24;
			this.textBox13.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
			// 
			// label4
			// 
			this.label4.AutoSize = true;
			this.label4.Location = new System.Drawing.Point(129, 21);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(56, 17);
			this.label4.TabIndex = 24;
			this.label4.Text = "监控频率";
			// 
			// checkBox8
			// 
			this.checkBox8.AutoSize = true;
			this.checkBox8.Location = new System.Drawing.Point(10, 20);
			this.checkBox8.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox8.Name = "checkBox8";
			this.checkBox8.Size = new System.Drawing.Size(123, 21);
			this.checkBox8.TabIndex = 24;
			this.checkBox8.Text = "开启授权变更提示";
			this.checkBox8.UseVisualStyleBackColor = true;
			// 
			// groupBox13
			// 
			this.groupBox13.Controls.Add(this.button5);
			this.groupBox13.Controls.Add(this.textBox25);
			this.groupBox13.Controls.Add(this.button17);
			this.groupBox13.Location = new System.Drawing.Point(6, 62);
			this.groupBox13.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox13.Name = "groupBox13";
			this.groupBox13.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox13.Size = new System.Drawing.Size(266, 50);
			this.groupBox13.TabIndex = 22;
			this.groupBox13.TabStop = false;
			this.groupBox13.Text = "代理地址";
			// 
			// button5
			// 
			this.button5.Location = new System.Drawing.Point(202, 20);
			this.button5.Margin = new System.Windows.Forms.Padding(2);
			this.button5.Name = "button5";
			this.button5.Size = new System.Drawing.Size(53, 23);
			this.button5.TabIndex = 19;
			this.button5.Text = "测试";
			this.button5.UseVisualStyleBackColor = true;
			this.button5.Click += new System.EventHandler(this.button5_Click);
			// 
			// textBox25
			// 
			this.textBox25.Location = new System.Drawing.Point(6, 20);
			this.textBox25.Margin = new System.Windows.Forms.Padding(2);
			this.textBox25.Name = "textBox25";
			this.textBox25.Size = new System.Drawing.Size(132, 23);
			this.textBox25.TabIndex = 17;
			// 
			// button17
			// 
			this.button17.Location = new System.Drawing.Point(144, 20);
			this.button17.Margin = new System.Windows.Forms.Padding(2);
			this.button17.Name = "button17";
			this.button17.Size = new System.Drawing.Size(53, 23);
			this.button17.TabIndex = 18;
			this.button17.Text = "说明";
			this.button17.UseVisualStyleBackColor = true;
			this.button17.Click += new System.EventHandler(this.button17_Click);
			// 
			// groupBox12
			// 
			this.groupBox12.Controls.Add(this.textBox4);
			this.groupBox12.Location = new System.Drawing.Point(6, 176);
			this.groupBox12.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox12.Name = "groupBox12";
			this.groupBox12.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox12.Size = new System.Drawing.Size(266, 50);
			this.groupBox12.TabIndex = 21;
			this.groupBox12.TabStop = false;
			this.groupBox12.Text = "等待提示语";
			// 
			// textBox4
			// 
			this.textBox4.Location = new System.Drawing.Point(6, 20);
			this.textBox4.Margin = new System.Windows.Forms.Padding(2);
			this.textBox4.Name = "textBox4";
			this.textBox4.Size = new System.Drawing.Size(249, 23);
			this.textBox4.TabIndex = 12;
			this.textBox4.Text = "少女祈祷中...";
			// 
			// groupBox11
			// 
			this.groupBox11.Controls.Add(this.textBox2);
			this.groupBox11.Location = new System.Drawing.Point(6, 120);
			this.groupBox11.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox11.Name = "groupBox11";
			this.groupBox11.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox11.Size = new System.Drawing.Size(266, 50);
			this.groupBox11.TabIndex = 20;
			this.groupBox11.TabStop = false;
			this.groupBox11.Text = "黑名单";
			// 
			// groupBox9
			// 
			this.groupBox9.Controls.Add(this.textBox1);
			this.groupBox9.Location = new System.Drawing.Point(6, 6);
			this.groupBox9.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox9.Name = "groupBox9";
			this.groupBox9.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox9.Size = new System.Drawing.Size(146, 50);
			this.groupBox9.TabIndex = 19;
			this.groupBox9.TabStop = false;
			this.groupBox9.Text = "主人号码";
			// 
			// textBox1
			// 
			this.textBox1.Location = new System.Drawing.Point(6, 20);
			this.textBox1.Margin = new System.Windows.Forms.Padding(2);
			this.textBox1.Name = "textBox1";
			this.textBox1.Size = new System.Drawing.Size(130, 23);
			this.textBox1.TabIndex = 6;
			// 
			// tabPage2
			// 
			this.tabPage2.Controls.Add(this.groupBox17);
			this.tabPage2.Controls.Add(this.groupBox16);
			this.tabPage2.Controls.Add(this.groupBox6);
			this.tabPage2.Controls.Add(this.groupBox5);
			this.tabPage2.Controls.Add(this.groupBox3);
			this.tabPage2.Controls.Add(this.groupBox2);
			this.tabPage2.Controls.Add(this.groupBox1);
			this.tabPage2.Location = new System.Drawing.Point(4, 26);
			this.tabPage2.Margin = new System.Windows.Forms.Padding(2);
			this.tabPage2.Name = "tabPage2";
			this.tabPage2.Padding = new System.Windows.Forms.Padding(2);
			this.tabPage2.Size = new System.Drawing.Size(802, 368);
			this.tabPage2.TabIndex = 1;
			this.tabPage2.Text = "高级设置";
			this.tabPage2.UseVisualStyleBackColor = true;
			// 
			// groupBox17
			// 
			this.groupBox17.Controls.Add(this.label28);
			this.groupBox17.Controls.Add(this.textBox15);
			this.groupBox17.Location = new System.Drawing.Point(238, 6);
			this.groupBox17.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox17.Name = "groupBox17";
			this.groupBox17.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox17.Size = new System.Drawing.Size(333, 50);
			this.groupBox17.TabIndex = 13;
			this.groupBox17.TabStop = false;
			this.groupBox17.Text = "Google";
			// 
			// label28
			// 
			this.label28.AutoSize = true;
			this.label28.Location = new System.Drawing.Point(13, 21);
			this.label28.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label28.Name = "label28";
			this.label28.Size = new System.Drawing.Size(52, 17);
			this.label28.TabIndex = 0;
			this.label28.Text = "Api Key";
			// 
			// textBox15
			// 
			this.textBox15.Location = new System.Drawing.Point(69, 18);
			this.textBox15.Margin = new System.Windows.Forms.Padding(2);
			this.textBox15.Name = "textBox15";
			this.textBox15.Size = new System.Drawing.Size(255, 23);
			this.textBox15.TabIndex = 1;
			// 
			// groupBox16
			// 
			this.groupBox16.Controls.Add(this.checkBox14);
			this.groupBox16.Controls.Add(this.checkBox13);
			this.groupBox16.Location = new System.Drawing.Point(6, 284);
			this.groupBox16.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox16.Name = "groupBox16";
			this.groupBox16.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox16.Size = new System.Drawing.Size(168, 50);
			this.groupBox16.TabIndex = 12;
			this.groupBox16.TabStop = false;
			this.groupBox16.Text = "推文监控";
			// 
			// checkBox14
			// 
			this.checkBox14.AutoSize = true;
			this.checkBox14.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.checkBox14.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.checkBox14.Location = new System.Drawing.Point(91, 22);
			this.checkBox14.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox14.Name = "checkBox14";
			this.checkBox14.Size = new System.Drawing.Size(72, 16);
			this.checkBox14.TabIndex = 3;
			this.checkBox14.Text = "拒绝转推";
			this.checkBox14.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
			this.checkBox14.UseVisualStyleBackColor = true;
			// 
			// checkBox13
			// 
			this.checkBox13.AutoSize = true;
			this.checkBox13.Enabled = false;
			this.checkBox13.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.checkBox13.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.checkBox13.Location = new System.Drawing.Point(15, 22);
			this.checkBox13.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox13.Name = "checkBox13";
			this.checkBox13.Size = new System.Drawing.Size(72, 16);
			this.checkBox13.TabIndex = 2;
			this.checkBox13.Text = "自动翻译";
			this.checkBox13.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
			this.checkBox13.UseVisualStyleBackColor = true;
			// 
			// groupBox6
			// 
			this.groupBox6.Controls.Add(this.button15);
			this.groupBox6.Controls.Add(this.textBox24);
			this.groupBox6.Controls.Add(this.comboBox1);
			this.groupBox6.Controls.Add(this.label34);
			this.groupBox6.Controls.Add(this.label10);
			this.groupBox6.Controls.Add(this.checkBox11);
			this.groupBox6.Controls.Add(this.label11);
			this.groupBox6.Controls.Add(this.textBox11);
			this.groupBox6.Location = new System.Drawing.Point(6, 230);
			this.groupBox6.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox6.Name = "groupBox6";
			this.groupBox6.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox6.Size = new System.Drawing.Size(488, 50);
			this.groupBox6.TabIndex = 11;
			this.groupBox6.TabStop = false;
			this.groupBox6.Text = "随机图片---来源为国外时需要代理";
			// 
			// button15
			// 
			this.button15.Location = new System.Drawing.Point(396, 17);
			this.button15.Margin = new System.Windows.Forms.Padding(2);
			this.button15.Name = "button15";
			this.button15.Size = new System.Drawing.Size(74, 23);
			this.button15.TabIndex = 17;
			this.button15.Text = "级别说明";
			this.button15.UseVisualStyleBackColor = true;
			this.button15.Click += new System.EventHandler(this.button15_Click);
			// 
			// textBox24
			// 
			this.textBox24.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.textBox24.Location = new System.Drawing.Point(277, 17);
			this.textBox24.Margin = new System.Windows.Forms.Padding(2);
			this.textBox24.Name = "textBox24";
			this.textBox24.ShortcutsEnabled = false;
			this.textBox24.Size = new System.Drawing.Size(21, 21);
			this.textBox24.TabIndex = 16;
			this.textBox24.Text = "1";
			this.textBox24.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
			// 
			// comboBox1
			// 
			this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox1.FormattingEnabled = true;
			this.comboBox1.Items.AddRange(new object[] {
            "国内",
            "国外"});
			this.comboBox1.Location = new System.Drawing.Point(182, 18);
			this.comboBox1.Margin = new System.Windows.Forms.Padding(2);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.Size = new System.Drawing.Size(54, 25);
			this.comboBox1.TabIndex = 14;
			this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
			// 
			// label34
			// 
			this.label34.AutoSize = true;
			this.label34.Location = new System.Drawing.Point(244, 22);
			this.label34.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label34.Name = "label34";
			this.label34.Size = new System.Drawing.Size(32, 17);
			this.label34.TabIndex = 15;
			this.label34.Text = "级别";
			// 
			// label10
			// 
			this.label10.AutoSize = true;
			this.label10.Location = new System.Drawing.Point(152, 22);
			this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label10.Name = "label10";
			this.label10.Size = new System.Drawing.Size(32, 17);
			this.label10.TabIndex = 7;
			this.label10.Text = "来源";
			// 
			// checkBox11
			// 
			this.checkBox11.AutoSize = true;
			this.checkBox11.Location = new System.Drawing.Point(304, 19);
			this.checkBox11.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox11.Name = "checkBox11";
			this.checkBox11.Size = new System.Drawing.Size(87, 21);
			this.checkBox11.TabIndex = 2;
			this.checkBox11.Text = "发送提示语";
			this.checkBox11.UseVisualStyleBackColor = true;
			// 
			// label11
			// 
			this.label11.AutoSize = true;
			this.label11.Location = new System.Drawing.Point(13, 20);
			this.label11.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(32, 17);
			this.label11.TabIndex = 0;
			this.label11.Text = "指令";
			// 
			// textBox11
			// 
			this.textBox11.Location = new System.Drawing.Point(47, 17);
			this.textBox11.Margin = new System.Windows.Forms.Padding(2);
			this.textBox11.Name = "textBox11";
			this.textBox11.Size = new System.Drawing.Size(100, 23);
			this.textBox11.TabIndex = 1;
			this.textBox11.Text = "随机图片";
			// 
			// groupBox5
			// 
			this.groupBox5.Controls.Add(this.checkBox10);
			this.groupBox5.Controls.Add(this.checkBox7);
			this.groupBox5.Controls.Add(this.checkBox9);
			this.groupBox5.Controls.Add(this.label7);
			this.groupBox5.Controls.Add(this.textBox7);
			this.groupBox5.Location = new System.Drawing.Point(6, 174);
			this.groupBox5.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox5.Name = "groupBox5";
			this.groupBox5.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox5.Size = new System.Drawing.Size(388, 50);
			this.groupBox5.TabIndex = 10;
			this.groupBox5.TabStop = false;
			this.groupBox5.Text = "热门图片---需要代理";
			// 
			// checkBox10
			// 
			this.checkBox10.AutoSize = true;
			this.checkBox10.Checked = true;
			this.checkBox10.CheckState = System.Windows.Forms.CheckState.Checked;
			this.checkBox10.Location = new System.Drawing.Point(299, 20);
			this.checkBox10.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox10.Name = "checkBox10";
			this.checkBox10.Size = new System.Drawing.Size(87, 21);
			this.checkBox10.TabIndex = 11;
			this.checkBox10.Text = "发送提示语";
			this.checkBox10.UseVisualStyleBackColor = true;
			// 
			// checkBox7
			// 
			this.checkBox7.AutoSize = true;
			this.checkBox7.Location = new System.Drawing.Point(220, 20);
			this.checkBox7.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox7.Name = "checkBox7";
			this.checkBox7.Size = new System.Drawing.Size(85, 21);
			this.checkBox7.TabIndex = 10;
			this.checkBox7.Text = "R18防和谐";
			this.checkBox7.UseVisualStyleBackColor = true;
			// 
			// checkBox9
			// 
			this.checkBox9.AutoSize = true;
			this.checkBox9.Location = new System.Drawing.Point(155, 20);
			this.checkBox9.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox9.Name = "checkBox9";
			this.checkBox9.Size = new System.Drawing.Size(73, 21);
			this.checkBox9.TabIndex = 2;
			this.checkBox9.Text = "允许R18";
			this.checkBox9.UseVisualStyleBackColor = true;
			// 
			// label7
			// 
			this.label7.AutoSize = true;
			this.label7.Location = new System.Drawing.Point(13, 20);
			this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(32, 17);
			this.label7.TabIndex = 0;
			this.label7.Text = "指令";
			// 
			// textBox7
			// 
			this.textBox7.Location = new System.Drawing.Point(47, 17);
			this.textBox7.Margin = new System.Windows.Forms.Padding(2);
			this.textBox7.Name = "textBox7";
			this.textBox7.Size = new System.Drawing.Size(100, 23);
			this.textBox7.TabIndex = 1;
			this.textBox7.Text = "热门图片";
			// 
			// groupBox3
			// 
			this.groupBox3.Controls.Add(this.checkBox4);
			this.groupBox3.Controls.Add(this.label8);
			this.groupBox3.Controls.Add(this.textBox8);
			this.groupBox3.Location = new System.Drawing.Point(6, 118);
			this.groupBox3.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox3.Size = new System.Drawing.Size(245, 50);
			this.groupBox3.TabIndex = 8;
			this.groupBox3.TabStop = false;
			this.groupBox3.Text = "识别动漫截图";
			// 
			// checkBox4
			// 
			this.checkBox4.AutoSize = true;
			this.checkBox4.Checked = true;
			this.checkBox4.CheckState = System.Windows.Forms.CheckState.Checked;
			this.checkBox4.Location = new System.Drawing.Point(154, 19);
			this.checkBox4.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox4.Name = "checkBox4";
			this.checkBox4.Size = new System.Drawing.Size(87, 21);
			this.checkBox4.TabIndex = 2;
			this.checkBox4.Text = "发送提示语";
			this.checkBox4.UseVisualStyleBackColor = true;
			// 
			// label8
			// 
			this.label8.AutoSize = true;
			this.label8.Location = new System.Drawing.Point(13, 20);
			this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(32, 17);
			this.label8.TabIndex = 0;
			this.label8.Text = "指令";
			// 
			// textBox8
			// 
			this.textBox8.Location = new System.Drawing.Point(47, 17);
			this.textBox8.Margin = new System.Windows.Forms.Padding(2);
			this.textBox8.Name = "textBox8";
			this.textBox8.Size = new System.Drawing.Size(100, 23);
			this.textBox8.TabIndex = 1;
			this.textBox8.Text = "识别动漫截图";
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.label6);
			this.groupBox2.Controls.Add(this.textBox6);
			this.groupBox2.Controls.Add(this.checkBox2);
			this.groupBox2.Controls.Add(this.label5);
			this.groupBox2.Controls.Add(this.textBox5);
			this.groupBox2.Location = new System.Drawing.Point(6, 62);
			this.groupBox2.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox2.Size = new System.Drawing.Size(340, 50);
			this.groupBox2.TabIndex = 6;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "搜索图片";
			// 
			// label6
			// 
			this.label6.AutoSize = true;
			this.label6.Location = new System.Drawing.Point(152, 22);
			this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(68, 17);
			this.label6.TabIndex = 7;
			this.label6.Text = "最低相似度";
			// 
			// textBox6
			// 
			this.textBox6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.textBox6.Location = new System.Drawing.Point(224, 17);
			this.textBox6.Margin = new System.Windows.Forms.Padding(2);
			this.textBox6.Name = "textBox6";
			this.textBox6.ShortcutsEnabled = false;
			this.textBox6.Size = new System.Drawing.Size(21, 21);
			this.textBox6.TabIndex = 8;
			this.textBox6.Text = "0";
			this.textBox6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
			// 
			// checkBox2
			// 
			this.checkBox2.AutoSize = true;
			this.checkBox2.Checked = true;
			this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
			this.checkBox2.Location = new System.Drawing.Point(251, 19);
			this.checkBox2.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox2.Name = "checkBox2";
			this.checkBox2.Size = new System.Drawing.Size(87, 21);
			this.checkBox2.TabIndex = 2;
			this.checkBox2.Text = "发送提示语";
			this.checkBox2.UseVisualStyleBackColor = true;
			// 
			// label5
			// 
			this.label5.AutoSize = true;
			this.label5.Location = new System.Drawing.Point(13, 20);
			this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(32, 17);
			this.label5.TabIndex = 0;
			this.label5.Text = "指令";
			// 
			// textBox5
			// 
			this.textBox5.Location = new System.Drawing.Point(47, 17);
			this.textBox5.Margin = new System.Windows.Forms.Padding(2);
			this.textBox5.Name = "textBox5";
			this.textBox5.Size = new System.Drawing.Size(100, 23);
			this.textBox5.TabIndex = 1;
			this.textBox5.Text = "搜索图片";
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.checkBox1);
			this.groupBox1.Controls.Add(this.label3);
			this.groupBox1.Controls.Add(this.textBox3);
			this.groupBox1.Location = new System.Drawing.Point(6, 6);
			this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox1.Size = new System.Drawing.Size(228, 50);
			this.groupBox1.TabIndex = 3;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "番剧搜索";
			// 
			// checkBox1
			// 
			this.checkBox1.AutoSize = true;
			this.checkBox1.Enabled = false;
			this.checkBox1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.checkBox1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.checkBox1.Location = new System.Drawing.Point(154, 20);
			this.checkBox1.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox1.Name = "checkBox1";
			this.checkBox1.Size = new System.Drawing.Size(72, 16);
			this.checkBox1.TabIndex = 2;
			this.checkBox1.Text = "失效检查";
			this.checkBox1.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
			this.checkBox1.UseVisualStyleBackColor = true;
			// 
			// label3
			// 
			this.label3.AutoSize = true;
			this.label3.Location = new System.Drawing.Point(13, 20);
			this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(32, 17);
			this.label3.TabIndex = 0;
			this.label3.Text = "指令";
			// 
			// textBox3
			// 
			this.textBox3.Location = new System.Drawing.Point(47, 17);
			this.textBox3.Margin = new System.Windows.Forms.Padding(2);
			this.textBox3.Name = "textBox3";
			this.textBox3.Size = new System.Drawing.Size(100, 23);
			this.textBox3.TabIndex = 1;
			this.textBox3.Text = "番剧搜索";
			// 
			// tabPage3
			// 
			this.tabPage3.Controls.Add(this.label23);
			this.tabPage3.Location = new System.Drawing.Point(4, 26);
			this.tabPage3.Margin = new System.Windows.Forms.Padding(2);
			this.tabPage3.Name = "tabPage3";
			this.tabPage3.Padding = new System.Windows.Forms.Padding(2);
			this.tabPage3.Size = new System.Drawing.Size(802, 368);
			this.tabPage3.TabIndex = 2;
			this.tabPage3.Text = "pixiv-通用";
			this.tabPage3.UseVisualStyleBackColor = true;
			// 
			// label23
			// 
			this.label23.AutoSize = true;
			this.label23.Location = new System.Drawing.Point(472, 332);
			this.label23.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label23.Name = "label23";
			this.label23.Size = new System.Drawing.Size(116, 17);
			this.label23.TabIndex = 18;
			this.label23.Text = "本页面功能需要代理";
			// 
			// tabPage5
			// 
			this.tabPage5.Controls.Add(this.label22);
			this.tabPage5.Controls.Add(this.groupBox8);
			this.tabPage5.Controls.Add(this.groupBox4);
			this.tabPage5.Location = new System.Drawing.Point(4, 26);
			this.tabPage5.Margin = new System.Windows.Forms.Padding(2);
			this.tabPage5.Name = "tabPage5";
			this.tabPage5.Padding = new System.Windows.Forms.Padding(2);
			this.tabPage5.Size = new System.Drawing.Size(802, 368);
			this.tabPage5.TabIndex = 4;
			this.tabPage5.Text = "pixiv-高级";
			this.tabPage5.UseVisualStyleBackColor = true;
			// 
			// label22
			// 
			this.label22.AutoSize = true;
			this.label22.Location = new System.Drawing.Point(472, 332);
			this.label22.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label22.Name = "label22";
			this.label22.Size = new System.Drawing.Size(116, 17);
			this.label22.TabIndex = 17;
			this.label22.Text = "本页面功能需要代理";
			// 
			// groupBox8
			// 
			this.groupBox8.Controls.Add(this.textBox26);
			this.groupBox8.Controls.Add(this.label35);
			this.groupBox8.Controls.Add(this.comboBox3);
			this.groupBox8.Controls.Add(this.comboBox2);
			this.groupBox8.Controls.Add(this.label9);
			this.groupBox8.Controls.Add(this.label17);
			this.groupBox8.ForeColor = System.Drawing.Color.Red;
			this.groupBox8.Location = new System.Drawing.Point(6, 62);
			this.groupBox8.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox8.Name = "groupBox8";
			this.groupBox8.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox8.Size = new System.Drawing.Size(152, 122);
			this.groupBox8.TabIndex = 16;
			this.groupBox8.TabStop = false;
			this.groupBox8.Text = "p站排行榜-授权专用";
			// 
			// textBox26
			// 
			this.textBox26.Location = new System.Drawing.Point(38, 23);
			this.textBox26.Margin = new System.Windows.Forms.Padding(2);
			this.textBox26.Name = "textBox26";
			this.textBox26.Size = new System.Drawing.Size(100, 23);
			this.textBox26.TabIndex = 16;
			// 
			// label35
			// 
			this.label35.AutoSize = true;
			this.label35.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label35.Location = new System.Drawing.Point(6, 26);
			this.label35.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label35.Name = "label35";
			this.label35.Size = new System.Drawing.Size(32, 17);
			this.label35.TabIndex = 15;
			this.label35.Text = "指令";
			// 
			// comboBox3
			// 
			this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox3.FormattingEnabled = true;
			this.comboBox3.Items.AddRange(new object[] {
            "日榜",
            "周榜",
            "月榜",
            "新人",
            "原创",
            "男性向",
            "女性向"});
			this.comboBox3.Location = new System.Drawing.Point(65, 88);
			this.comboBox3.Margin = new System.Windows.Forms.Padding(2);
			this.comboBox3.Name = "comboBox3";
			this.comboBox3.Size = new System.Drawing.Size(74, 25);
			this.comboBox3.TabIndex = 4;
			// 
			// comboBox2
			// 
			this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox2.FormattingEnabled = true;
			this.comboBox2.Items.AddRange(new object[] {
            "综合",
            "插画",
            "漫画",
            "动图"});
			this.comboBox2.Location = new System.Drawing.Point(65, 56);
			this.comboBox2.Margin = new System.Windows.Forms.Padding(2);
			this.comboBox2.Name = "comboBox2";
			this.comboBox2.Size = new System.Drawing.Size(74, 25);
			this.comboBox2.TabIndex = 2;
			// 
			// label9
			// 
			this.label9.AutoSize = true;
			this.label9.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label9.Location = new System.Drawing.Point(6, 91);
			this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(56, 17);
			this.label9.TabIndex = 3;
			this.label9.Text = "默认类型";
			// 
			// label17
			// 
			this.label17.AutoSize = true;
			this.label17.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label17.Location = new System.Drawing.Point(6, 60);
			this.label17.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label17.Name = "label17";
			this.label17.Size = new System.Drawing.Size(56, 17);
			this.label17.TabIndex = 0;
			this.label17.Text = "默认内容";
			// 
			// groupBox4
			// 
			this.groupBox4.Controls.Add(this.label18);
			this.groupBox4.Controls.Add(this.checkBox6);
			this.groupBox4.Controls.Add(this.textBox9);
			this.groupBox4.Controls.Add(this.checkBox3);
			this.groupBox4.Location = new System.Drawing.Point(6, 6);
			this.groupBox4.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox4.Name = "groupBox4";
			this.groupBox4.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox4.Size = new System.Drawing.Size(298, 50);
			this.groupBox4.TabIndex = 11;
			this.groupBox4.TabStop = false;
			this.groupBox4.Text = "p站搜索";
			// 
			// label18
			// 
			this.label18.AutoSize = true;
			this.label18.Location = new System.Drawing.Point(5, 24);
			this.label18.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label18.Name = "label18";
			this.label18.Size = new System.Drawing.Size(32, 17);
			this.label18.TabIndex = 12;
			this.label18.Text = "指令";
			// 
			// checkBox6
			// 
			this.checkBox6.AutoSize = true;
			this.checkBox6.Location = new System.Drawing.Point(217, 23);
			this.checkBox6.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox6.Name = "checkBox6";
			this.checkBox6.Size = new System.Drawing.Size(85, 21);
			this.checkBox6.TabIndex = 10;
			this.checkBox6.Text = "R18防和谐";
			this.checkBox6.UseVisualStyleBackColor = true;
			// 
			// textBox9
			// 
			this.textBox9.Location = new System.Drawing.Point(38, 20);
			this.textBox9.Margin = new System.Windows.Forms.Padding(2);
			this.textBox9.Name = "textBox9";
			this.textBox9.Size = new System.Drawing.Size(100, 23);
			this.textBox9.TabIndex = 13;
			// 
			// checkBox3
			// 
			this.checkBox3.AutoSize = true;
			this.checkBox3.Location = new System.Drawing.Point(145, 23);
			this.checkBox3.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox3.Name = "checkBox3";
			this.checkBox3.Size = new System.Drawing.Size(73, 21);
			this.checkBox3.TabIndex = 2;
			this.checkBox3.Text = "允许R18";
			this.checkBox3.UseVisualStyleBackColor = true;
			// 
			// tabPage4
			// 
			this.tabPage4.Controls.Add(this.groupBox15);
			this.tabPage4.Controls.Add(this.groupBox7);
			this.tabPage4.Controls.Add(this.groupBox10);
			this.tabPage4.Location = new System.Drawing.Point(4, 26);
			this.tabPage4.Margin = new System.Windows.Forms.Padding(2);
			this.tabPage4.Name = "tabPage4";
			this.tabPage4.Padding = new System.Windows.Forms.Padding(2);
			this.tabPage4.Size = new System.Drawing.Size(802, 368);
			this.tabPage4.TabIndex = 3;
			this.tabPage4.Text = "bilibili-通用";
			this.tabPage4.UseVisualStyleBackColor = true;
			// 
			// groupBox15
			// 
			this.groupBox15.Controls.Add(this.button4);
			this.groupBox15.Controls.Add(this.label20);
			this.groupBox15.Controls.Add(this.textBox14);
			this.groupBox15.Controls.Add(this.checkBox12);
			this.groupBox15.Location = new System.Drawing.Point(264, 152);
			this.groupBox15.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox15.Name = "groupBox15";
			this.groupBox15.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox15.Size = new System.Drawing.Size(270, 210);
			this.groupBox15.TabIndex = 18;
			this.groupBox15.TabStop = false;
			this.groupBox15.Text = "MD/SS解析";
			// 
			// button4
			// 
			this.button4.Location = new System.Drawing.Point(127, 18);
			this.button4.Name = "button4";
			this.button4.Size = new System.Drawing.Size(50, 23);
			this.button4.TabIndex = 19;
			this.button4.Text = "说明";
			this.button4.UseVisualStyleBackColor = true;
			this.button4.Click += new System.EventHandler(this.Button4_Click);
			// 
			// label20
			// 
			this.label20.Anchor = System.Windows.Forms.AnchorStyles.Right;
			this.label20.AutoSize = true;
			this.label20.Location = new System.Drawing.Point(198, 20);
			this.label20.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label20.Name = "label20";
			this.label20.Size = new System.Drawing.Size(68, 153);
			this.label20.TabIndex = 18;
			this.label20.Text = "可选变量：\r\n[md]\r\n[封面]\r\n[staff]\r\n[角色声优]\r\n[开播时间]\r\n[简介]\r\n[标题]\r\n[原标题]";
			// 
			// textBox14
			// 
			this.textBox14.Location = new System.Drawing.Point(4, 47);
			this.textBox14.Margin = new System.Windows.Forms.Padding(2);
			this.textBox14.Multiline = true;
			this.textBox14.Name = "textBox14";
			this.textBox14.Size = new System.Drawing.Size(173, 156);
			this.textBox14.TabIndex = 14;
			// 
			// checkBox12
			// 
			this.checkBox12.AutoSize = true;
			this.checkBox12.Location = new System.Drawing.Point(71, 20);
			this.checkBox12.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox12.Name = "checkBox12";
			this.checkBox12.Size = new System.Drawing.Size(51, 21);
			this.checkBox12.TabIndex = 10;
			this.checkBox12.Text = "开关";
			this.checkBox12.UseVisualStyleBackColor = true;
			// 
			// groupBox7
			// 
			this.groupBox7.Controls.Add(this.label25);
			this.groupBox7.Controls.Add(this.textBox12);
			this.groupBox7.Controls.Add(this.checkBox5);
			this.groupBox7.Location = new System.Drawing.Point(6, 150);
			this.groupBox7.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox7.Name = "groupBox7";
			this.groupBox7.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox7.Size = new System.Drawing.Size(254, 212);
			this.groupBox7.TabIndex = 17;
			this.groupBox7.TabStop = false;
			this.groupBox7.Text = "AV/BV/EP解析";
			// 
			// label25
			// 
			this.label25.Anchor = System.Windows.Forms.AnchorStyles.Right;
			this.label25.AutoSize = true;
			this.label25.Location = new System.Drawing.Point(182, 21);
			this.label25.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label25.Name = "label25";
			this.label25.Size = new System.Drawing.Size(68, 136);
			this.label25.TabIndex = 18;
			this.label25.Text = "可选变量：\r\n[av]\r\n[bv]\r\n[封面]\r\n[up主名称]\r\n[up主uid]\r\n[简介]\r\n[标题]";
			// 
			// textBox12
			// 
			this.textBox12.Location = new System.Drawing.Point(6, 47);
			this.textBox12.Margin = new System.Windows.Forms.Padding(2);
			this.textBox12.Multiline = true;
			this.textBox12.Name = "textBox12";
			this.textBox12.Size = new System.Drawing.Size(172, 156);
			this.textBox12.TabIndex = 14;
			// 
			// checkBox5
			// 
			this.checkBox5.AutoSize = true;
			this.checkBox5.Location = new System.Drawing.Point(118, 20);
			this.checkBox5.Margin = new System.Windows.Forms.Padding(2);
			this.checkBox5.Name = "checkBox5";
			this.checkBox5.Size = new System.Drawing.Size(51, 21);
			this.checkBox5.TabIndex = 10;
			this.checkBox5.Text = "开关";
			this.checkBox5.UseVisualStyleBackColor = true;
			// 
			// groupBox10
			// 
			this.groupBox10.Controls.Add(this.comboBox6);
			this.groupBox10.Controls.Add(this.label2);
			this.groupBox10.Controls.Add(this.label1);
			this.groupBox10.Controls.Add(this.textBox10);
			this.groupBox10.Controls.Add(this.comboBox4);
			this.groupBox10.Controls.Add(this.comboBox5);
			this.groupBox10.Controls.Add(this.label19);
			this.groupBox10.Controls.Add(this.label21);
			this.groupBox10.Location = new System.Drawing.Point(6, 6);
			this.groupBox10.Margin = new System.Windows.Forms.Padding(2);
			this.groupBox10.Name = "groupBox10";
			this.groupBox10.Padding = new System.Windows.Forms.Padding(2);
			this.groupBox10.Size = new System.Drawing.Size(148, 140);
			this.groupBox10.TabIndex = 16;
			this.groupBox10.TabStop = false;
			this.groupBox10.Text = "b站排行榜";
			// 
			// comboBox6
			// 
			this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox6.FormattingEnabled = true;
			this.comboBox6.Items.AddRange(new object[] {
            "日榜",
            "三日榜",
            "周榜",
            "月榜"});
			this.comboBox6.Location = new System.Drawing.Point(44, 107);
			this.comboBox6.Margin = new System.Windows.Forms.Padding(2);
			this.comboBox6.Name = "comboBox6";
			this.comboBox6.Size = new System.Drawing.Size(94, 25);
			this.comboBox6.TabIndex = 17;
			// 
			// label2
			// 
			this.label2.AutoSize = true;
			this.label2.Location = new System.Drawing.Point(10, 110);
			this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(32, 17);
			this.label2.TabIndex = 16;
			this.label2.Text = "日期";
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.BackColor = System.Drawing.SystemColors.Window;
			this.label1.Location = new System.Drawing.Point(8, 25);
			this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(32, 17);
			this.label1.TabIndex = 14;
			this.label1.Text = "指令";
			// 
			// textBox10
			// 
			this.textBox10.BackColor = System.Drawing.SystemColors.Window;
			this.textBox10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.textBox10.Location = new System.Drawing.Point(44, 20);
			this.textBox10.Margin = new System.Windows.Forms.Padding(2);
			this.textBox10.Name = "textBox10";
			this.textBox10.Size = new System.Drawing.Size(94, 23);
			this.textBox10.TabIndex = 15;
			// 
			// comboBox4
			// 
			this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox4.Enabled = false;
			this.comboBox4.FormattingEnabled = true;
			this.comboBox4.Items.AddRange(new object[] {
            "全站榜",
            "原创榜",
            "新人榜",
            "新番榜"});
			this.comboBox4.Location = new System.Drawing.Point(44, 78);
			this.comboBox4.Margin = new System.Windows.Forms.Padding(2);
			this.comboBox4.Name = "comboBox4";
			this.comboBox4.Size = new System.Drawing.Size(94, 25);
			this.comboBox4.TabIndex = 4;
			// 
			// comboBox5
			// 
			this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox5.FormattingEnabled = true;
			this.comboBox5.Items.AddRange(new object[] {
            "番剧",
            "国产动画",
            "全站",
            "动画",
            "国创相关",
            "音乐",
            "舞蹈",
            "游戏",
            "科技",
            "生活",
            "鬼畜",
            "时尚",
            "广告",
            "娱乐",
            "电影",
            "电视剧"});
			this.comboBox5.Location = new System.Drawing.Point(44, 49);
			this.comboBox5.Margin = new System.Windows.Forms.Padding(2);
			this.comboBox5.Name = "comboBox5";
			this.comboBox5.Size = new System.Drawing.Size(94, 25);
			this.comboBox5.TabIndex = 2;
			// 
			// label19
			// 
			this.label19.AutoSize = true;
			this.label19.Location = new System.Drawing.Point(10, 80);
			this.label19.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label19.Name = "label19";
			this.label19.Size = new System.Drawing.Size(32, 17);
			this.label19.TabIndex = 3;
			this.label19.Text = "类型";
			// 
			// label21
			// 
			this.label21.AutoSize = true;
			this.label21.Location = new System.Drawing.Point(10, 52);
			this.label21.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label21.Name = "label21";
			this.label21.Size = new System.Drawing.Size(32, 17);
			this.label21.TabIndex = 0;
			this.label21.Text = "内容";
			// 
			// tabPage6
			// 
			this.tabPage6.Location = new System.Drawing.Point(4, 26);
			this.tabPage6.Margin = new System.Windows.Forms.Padding(2);
			this.tabPage6.Name = "tabPage6";
			this.tabPage6.Padding = new System.Windows.Forms.Padding(2);
			this.tabPage6.Size = new System.Drawing.Size(802, 368);
			this.tabPage6.TabIndex = 5;
			this.tabPage6.Text = "bilibili-高级";
			this.tabPage6.UseVisualStyleBackColor = true;
			// 
			// tabPage8
			// 
			this.tabPage8.Controls.Add(this.label24);
			this.tabPage8.Controls.Add(this.button18);
			this.tabPage8.Controls.Add(this.label14);
			this.tabPage8.Controls.Add(this.pictureBox4);
			this.tabPage8.Controls.Add(this.button16);
			this.tabPage8.ForeColor = System.Drawing.SystemColors.ControlText;
			this.tabPage8.Location = new System.Drawing.Point(4, 26);
			this.tabPage8.Margin = new System.Windows.Forms.Padding(2);
			this.tabPage8.Name = "tabPage8";
			this.tabPage8.Padding = new System.Windows.Forms.Padding(2);
			this.tabPage8.Size = new System.Drawing.Size(802, 368);
			this.tabPage8.TabIndex = 7;
			this.tabPage8.Text = "自定义出图-高级";
			this.tabPage8.UseVisualStyleBackColor = true;
			// 
			// label24
			// 
			this.label24.AutoSize = true;
			this.label24.Location = new System.Drawing.Point(472, 332);
			this.label24.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label24.Name = "label24";
			this.label24.Size = new System.Drawing.Size(212, 17);
			this.label24.TabIndex = 27;
			this.label24.Text = "本页面功能为授权专用，并且需要代理";
			// 
			// button18
			// 
			this.button18.Location = new System.Drawing.Point(300, 101);
			this.button18.Margin = new System.Windows.Forms.Padding(2);
			this.button18.Name = "button18";
			this.button18.Size = new System.Drawing.Size(74, 23);
			this.button18.TabIndex = 26;
			this.button18.Text = "打开文件";
			this.button18.UseVisualStyleBackColor = true;
			this.button18.Click += new System.EventHandler(this.button18_Click);
			// 
			// label14
			// 
			this.label14.AutoSize = true;
			this.label14.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.label14.Location = new System.Drawing.Point(208, 150);
			this.label14.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label14.Name = "label14";
			this.label14.Size = new System.Drawing.Size(275, 19);
			this.label14.TabIndex = 25;
			this.label14.Text = "←看图填写指令，看不懂的自杀";
			// 
			// pictureBox4
			// 
			this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
			this.pictureBox4.Location = new System.Drawing.Point(16, 26);
			this.pictureBox4.Margin = new System.Windows.Forms.Padding(2);
			this.pictureBox4.Name = "pictureBox4";
			this.pictureBox4.Size = new System.Drawing.Size(167, 258);
			this.pictureBox4.TabIndex = 24;
			this.pictureBox4.TabStop = false;
			// 
			// button16
			// 
			this.button16.Location = new System.Drawing.Point(300, 193);
			this.button16.Margin = new System.Windows.Forms.Padding(2);
			this.button16.Name = "button16";
			this.button16.Size = new System.Drawing.Size(74, 23);
			this.button16.TabIndex = 23;
			this.button16.Text = "说明";
			this.button16.UseVisualStyleBackColor = true;
			this.button16.Click += new System.EventHandler(this.button16_Click);
			// 
			// tabPage9
			// 
			this.tabPage9.Controls.Add(this.richTextBox1);
			this.tabPage9.Location = new System.Drawing.Point(4, 26);
			this.tabPage9.Name = "tabPage9";
			this.tabPage9.Padding = new System.Windows.Forms.Padding(3);
			this.tabPage9.Size = new System.Drawing.Size(802, 368);
			this.tabPage9.TabIndex = 8;
			this.tabPage9.Text = "更新日志";
			this.tabPage9.UseVisualStyleBackColor = true;
			// 
			// richTextBox1
			// 
			this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.richTextBox1.Location = new System.Drawing.Point(6, 6);
			this.richTextBox1.Name = "richTextBox1";
			this.richTextBox1.ReadOnly = true;
			this.richTextBox1.Size = new System.Drawing.Size(790, 356);
			this.richTextBox1.TabIndex = 0;
			this.richTextBox1.Text = resources.GetString("richTextBox1.Text");
			// 
			// button2
			// 
			this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.button2.Location = new System.Drawing.Point(658, 416);
			this.button2.Margin = new System.Windows.Forms.Padding(2);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(74, 40);
			this.button2.TabIndex = 13;
			this.button2.Text = "默认";
			this.button2.UseVisualStyleBackColor = true;
			// 
			// button1
			// 
			this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Right)));
			this.button1.Location = new System.Drawing.Point(739, 416);
			this.button1.Margin = new System.Windows.Forms.Padding(2);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(74, 40);
			this.button1.TabIndex = 12;
			this.button1.Text = "保存";
			this.button1.UseVisualStyleBackColor = true;
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// label26
			// 
			this.label26.AutoSize = true;
			this.label26.Location = new System.Drawing.Point(30, 431);
			this.label26.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label26.Name = "label26";
			this.label26.Size = new System.Drawing.Size(68, 17);
			this.label26.TabIndex = 14;
			this.label26.Text = "插件公告：";
			// 
			// label27
			// 
			this.label27.AutoSize = true;
			this.label27.Location = new System.Drawing.Point(101, 431);
			this.label27.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
			this.label27.Name = "label27";
			this.label27.Size = new System.Drawing.Size(32, 17);
			this.label27.TabIndex = 15;
			this.label27.Text = "暂无";
			// 
			// Setting
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(826, 464);
			this.Controls.Add(this.button1);
			this.Controls.Add(this.button2);
			this.Controls.Add(this.label27);
			this.Controls.Add(this.label26);
			this.Controls.Add(this.tabControl1);
			this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Margin = new System.Windows.Forms.Padding(2);
			this.MaximizeBox = false;
			this.Name = "Setting";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "设置";
			this.Load += new System.EventHandler(this.Setting_Load);
			this.tabControl1.ResumeLayout(false);
			this.tabPage7.ResumeLayout(false);
			this.tabPage7.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
			this.tabPage1.ResumeLayout(false);
			this.groupBox14.ResumeLayout(false);
			this.groupBox14.PerformLayout();
			this.groupBox13.ResumeLayout(false);
			this.groupBox13.PerformLayout();
			this.groupBox12.ResumeLayout(false);
			this.groupBox12.PerformLayout();
			this.groupBox11.ResumeLayout(false);
			this.groupBox11.PerformLayout();
			this.groupBox9.ResumeLayout(false);
			this.groupBox9.PerformLayout();
			this.tabPage2.ResumeLayout(false);
			this.groupBox17.ResumeLayout(false);
			this.groupBox17.PerformLayout();
			this.groupBox16.ResumeLayout(false);
			this.groupBox16.PerformLayout();
			this.groupBox6.ResumeLayout(false);
			this.groupBox6.PerformLayout();
			this.groupBox5.ResumeLayout(false);
			this.groupBox5.PerformLayout();
			this.groupBox3.ResumeLayout(false);
			this.groupBox3.PerformLayout();
			this.groupBox2.ResumeLayout(false);
			this.groupBox2.PerformLayout();
			this.groupBox1.ResumeLayout(false);
			this.groupBox1.PerformLayout();
			this.tabPage3.ResumeLayout(false);
			this.tabPage3.PerformLayout();
			this.tabPage5.ResumeLayout(false);
			this.tabPage5.PerformLayout();
			this.groupBox8.ResumeLayout(false);
			this.groupBox8.PerformLayout();
			this.groupBox4.ResumeLayout(false);
			this.groupBox4.PerformLayout();
			this.tabPage4.ResumeLayout(false);
			this.groupBox15.ResumeLayout(false);
			this.groupBox15.PerformLayout();
			this.groupBox7.ResumeLayout(false);
			this.groupBox7.PerformLayout();
			this.groupBox10.ResumeLayout(false);
			this.groupBox10.PerformLayout();
			this.tabPage8.ResumeLayout(false);
			this.tabPage8.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
			this.tabPage9.ResumeLayout(false);
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		private void button5_Click(object sender, EventArgs e)
		{
			//https://yande.re
			WebProxy proxy = null;
			if (!string.IsNullOrWhiteSpace(textBox25.Text)) proxy = new WebProxy(textBox25.Text);
			var data = HttpNet.Get("https://yande.re", proxy: proxy, timeout: 3000);
			if (data.Length > 100) MessageBox.Show("测试成功");
			else MessageBox.Show("测试失败");
		}
	}
}
